package com.ruoyi.web.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 调度器状态表
 * </p>
 *
 * @author lh
 * @since 2025-01-16
 */
public class Qrtz_scheduler_state implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 调度名称
     */
    @TableId(value = "sched_name", type = IdType.AUTO)
    private String sched_name;

    /**
     * 实例名称
     */
    private String instance_name;

    /**
     * 上次检查时间
     */
    private Long last_checkin_time;

    /**
     * 检查间隔时间
     */
    private Long checkin_interval;


    public String getSched_name() {
        return sched_name;
    }

    public void setSched_name(String sched_name) {
        this.sched_name = sched_name;
    }

    public String getInstance_name() {
        return instance_name;
    }

    public void setInstance_name(String instance_name) {
        this.instance_name = instance_name;
    }

    public Long getLast_checkin_time() {
        return last_checkin_time;
    }

    public void setLast_checkin_time(Long last_checkin_time) {
        this.last_checkin_time = last_checkin_time;
    }

    public Long getCheckin_interval() {
        return checkin_interval;
    }

    public void setCheckin_interval(Long checkin_interval) {
        this.checkin_interval = checkin_interval;
    }

    @Override
    public String toString() {
        return "Qrtz_scheduler_state{" +
        "sched_name=" + sched_name +
        ", instance_name=" + instance_name +
        ", last_checkin_time=" + last_checkin_time +
        ", checkin_interval=" + checkin_interval +
        "}";
    }
}
